#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_boost_thread-mt.dpatch by LI Daobing <lidaobing@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad othello~/lib/othello/Makefile.in othello/lib/othello/Makefile.in
--- othello~/lib/othello/Makefile.in	2007-06-24 01:00:39.000000000 +0800
+++ othello/lib/othello/Makefile.in	2007-06-24 21:31:33.000000000 +0800
@@ -312,7 +312,8 @@
 libothello_la_LIBADD = \
 	libothello_configs.la \
 	-ldl \
-	-lboost_thread
+	-lboost_thread-mt \
+	-lpthread
 
 all: all-am
 
diff -urNad othello~/lib/pyothello/Makefile.in othello/lib/pyothello/Makefile.in
--- othello~/lib/pyothello/Makefile.in	2007-06-24 01:00:39.000000000 +0800
+++ othello/lib/pyothello/Makefile.in	2007-06-24 21:31:33.000000000 +0800
@@ -288,7 +288,7 @@
 
 libothello_python_la_LIBADD = \
 	$(PYTHON_EXTRA_LIBS) \
-	-lboost_python \
+	-lboost_python-mt \
 	$(top_builddir)/lib/othello/libothello.la
 
 all: all-am
diff -urNad othello~/players/Makefile.in othello/players/Makefile.in
--- othello~/players/Makefile.in	2007-06-24 01:00:39.000000000 +0800
+++ othello/players/Makefile.in	2007-06-24 21:31:50.000000000 +0800
@@ -302,7 +302,8 @@
 
 python_la_LIBADD = \
 	$(PYTHON_EXTRA_LIBS) \
-	-lboost_python \
+	-lboost_python-mt \
+	-lpython2.5 \
 	$(top_builddir)/lib/pyothello/libothello-python.la
 
 pyplayersdir = $(OTHELLO_PLAYERPLUGINSDIR)/python
